The Institute for Language and Folklore, (Swedish: Institutet för språk och folkminnen, but commonly referred to by the acronym SOFI), is a Swedish government agency with the purpose of studying and collecting materials concerning dialects, folklore and onomastics.
In June 2006 the Swedish government decided to centralize the Swedish language preservation institutes, starting on the July 1, 2006. The former name, Swedish Institute for Dialectology, Onomastics and Folklore Research (Swedish: Språk- och folkminnesinstituet) was changed to the current name.
The institute consists of several, originally independent, units, located in different Swedish university towns. The central unit of the institute is located in Uppsala, with other departments located to Lund, Gothenburg, Umeå and Stockholm.
The institute is, among other things, responsible for the ongoing publication of Sveriges ortnamn (a dictionary of all Swedish placenames) and Sveriges medeltida personnamn (a dictionary of medieval Swedish personal names).